package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Packing;
import cn.itcast.domain.cargo.PackingExample;
import cn.itcast.domain.cargo.Shipping;
import cn.itcast.domain.cargo.ShippingExample;
import com.github.pagehelper.PageInfo;

public interface ShippingService {

    //根据主键查询
    Shipping findById(String id);

    //保存
    void save(Shipping shipping);

    //更新
    void update(Shipping shipping);

    //删除
    void delete(String id);

    //分页查询
    PageInfo findAll(ShippingExample example, int page, int size);
}
